package napier.sadari;

import android.app.Activity;
import android.content.Context;
import android.os.Bundle;
import android.telephony.TelephonyManager;
import android.widget.TextView;

public class NetworkActivity extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.network_activity);

        
        TelephonyManager mTelephonyMgr = (TelephonyManager) getSystemService(Context.TELEPHONY_SERVICE);
        String myNumber = mTelephonyMgr.getLine1Number();
        TextView textSendNum = (TextView) findViewById(R.id.TextView01);
        textSendNum.setText(myNumber);



        
    }    

	
}







